<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>2016年南宁人过中秋节：年年送月饼，今年大不同。</title>
    <style>
        *{border:0;padding:0;margin:0;}
        img{display:block;}
        body{background-color:#f5ebde;}
        .header,.banner1,.banner2,.banner3,.banner4{margin:0 auto;}
        .header,.footer{width:100%;}
        .banner1,.banner2,.banner3,.banner4{position:relative;width:1200px;}
        .banner1 img,.banner2 img,.banner3 img,.banner4 img,.footer{width:100%;}
        .banner1 .sideimg{position:absolute;width:150px;height:100%;left:-150px;top:0;z-index: 5;}
        .con-wrap{width:1200px;margin:0 auto;overflow: hidden;}
        .con-img{width:50%;height:820px;float:left;}
        .con-img img{width:100%;}
        .btm-info{width:1000px;left:50%;margin-left:-500px;top:100px;z-index:5;}
        .btm-info a{color:#fff;text-decoration:none;}
        .btm-info p{color:#fff;line-height:1.5em;text-align:center;}

        @media only screen and (max-width:720px){
            .banner1,.banner2,.banner3,.banner4,.con-wrap,.footer,.con-title,.btm-info{width:100%;}
            .banner1 .sideimg{display:none;}
            .con-img{height:auto;}
            .btm-info{left:0;margin-left:0;top:50px;display:none;}
            .btm-info p{font-size:12px;}
        }
    </style>
</head>
<body>
    <img class="header" src="./images/zq_01.jpg"/>
    <div class="banner1">
        <img src="./images/zq_03.jpg" alt="中秋礼遇" class="sideimg">
        <img src="./images/zq-1_03.jpg" alt="中秋礼遇" usemap="#banner1">
        <map name="banner1" id="banner1">
            <area shape="rect" coords="700,650,980,725" href="http://wei.ngzb.com.cn/index.php/showproductwap/show/858" alt="中秋礼遇">
        </map>
    </div>
    <div class="banner2">
        <img src="./images/zq-1_03-04.jpg" alt="中秋礼遇" usemap="#banner2">
        <map name="banner2" id="banner2">
            <area shape="rect" coords="250,330,530,400" href="http://wei.ngzb.com.cn/index.php/showproductwap/show/857" alt="中秋礼遇">
        </map>
    </div>
    <div class="banner3">
        <img src="./images/zq-1_04.jpg" alt="中秋礼遇" usemap="#banner3">
        <map name="banner3" id="banner3">
            <area shape="rect" coords="670,670,950,750" href="http://wei.ngzb.com.cn/index.php/showproductwap/show/859" alt="中秋礼遇">
        </map>
    </div>
    <div class="banner4">
        <img src="./images/zq-1_05.jpg" alt="中秋礼遇" usemap="#banner4">
        <map name="banner4" id="banner4">
            <area shape="rect" coords="275,700,555,770" href="http://wei.ngzb.com.cn/index.php/showproductwap/show/860" alt="中秋礼遇">
        </map>
    </div>
    <div class="con-wrap">
        <img class="con-title" src="./images/zq_14.jpg"/> 
        <div class="con-img"><img src="images/zq-1_11-11.jpg" usemap="#con-img1" alt="中秋礼遇"></div>
        <div class="con-img"><img src="images/zq-1_11.jpg" usemap="#con-img2" alt="中秋礼遇"></div>
        <div class="con-img"><img src="images/zq-1_11-12.jpg" usemap="#con-img3" alt="中秋礼遇"></div>
        <div class="con-img"><img src="images/zq-1_11-14.jpg" usemap="#con-img4" alt="中秋礼遇"></div>
        <div class="con-img"><img src="images/zq-1_11-15.jpg" alt="中秋礼遇"></div>
        <div class="con-img"><img src="images/zq-1_11-16.jpg" alt="中秋礼遇"></div>
        <img class="con-title" src="./images/zq_28.jpg" style="margin-top:15px;"/>    
        <div class="con-img"><img src="images/zq_30.jpg" usemap="#con-img5" alt="中秋礼遇"></div>
        <div class="con-img"><img src="images/zq_32.jpg" usemap="#con-img6" alt="中秋礼遇"></div>
        <div class="con-img"><img src="images/zq_34.jpg" usemap="#con-img7" alt="中秋礼遇"></div>
        <div class="con-img"><img src="images/zq_35.jpg" usemap="#con-img8" alt="中秋礼遇"></div>
    </div>
    <map name="con-img1" id="con-img1">
        <area shape="rect" coords="290,710,570,780" href="http://wei.ngzb.com.cn/index.php/showproductwap/show/861" alt="中秋礼遇">
    </map>
    <map name="con-img2" id="con-img2">
        <area shape="rect" coords="290,710,570,780" href="http://wei.ngzb.com.cn/index.php/showproductwap/show/862" alt="中秋礼遇">
    </map>
    <map name="con-img3" id="con-img3">
        <area shape="rect" coords="290,710,570,780" href="http://wei.ngzb.com.cn/index.php/showproductwap/show/863" alt="中秋礼遇">
    </map>
    <map name="con-img4" id="con-img4">
        <area shape="rect" coords="290,710,570,780" href="http://wei.ngzb.com.cn/index.php/showproductwap/show/864" alt="中秋礼遇">
    </map>
    <map name="con-img5" id="con-img5">
        <area shape="rect" coords="290,710,570,780" href="http://wei.ngzb.com.cn/index.php/showproductwap/show/839" alt="中秋礼遇">
    </map>
    <map name="con-img6" id="con-img6">
        <area shape="rect" coords="290,710,570,780" href="http://wei.ngzb.com.cn/index.php/showproductwap/show/751" alt="中秋礼遇">
    </map>
    <map name="con-img7" id="con-img7">
        <area shape="rect" coords="290,710,570,780" href="http://wei.ngzb.com.cn/index.php/showproductwap/show/484" alt="中秋礼遇">
    </map>
    <map name="con-img8" id="con-img8">
        <area shape="rect" coords="290,710,570,780" href="http://wei.ngzb.com.cn/index.php/showproductwap/show/855" alt="中秋礼遇">
    </map>
    <div class="footer" style="margin-top:15px;position:relative;">
        <img src="images/zq-1_11-21.jpg" alt="中秋礼遇" style="width:100%">
        <div class="btm-info" style="position:absolute;">
            <p style=""><a href="http://www.ngzb.com.cn">网站首页</a>|<a href="http://www.ngzb.com.cn">网站介绍</a>|<a href="http://www.ngzb.com.cn">联系方式</a>|<a href="http://www.ngzb.com.cn">招聘信息</a>|<a href="http://www.ngzb.com.cn">网站导航</a>|<a href="http://www.ngzb.com.cn">版权声明</a>|<a href="#">返回顶部</a></p>
            <div style="text-align:center;margin-top:20px;margin-bottom:10px;">
                <a href="http://www.ngzb.com.cn" style="background:url(http://www.ngzb.com.cn/static/image/common/footer.png) no-repeat left -185px;width:118px;height:38px;display:inline-block;"></a>
                <a href="http://www.ngzb.com.cn" style="background:url(http://www.ngzb.com.cn/static/image/common/footer.png) no-repeat left -225px;width:38px;height:38px;display:inline-block;"></a>
            </div>
            <p style="color:#ccc;">ICP:桂B2-20040022</p>
            <p style="color:#ccc;">Code 2008-2010 南国早报 http://www.ngzb.com.cn Corporation</p>
        </div>
    </div>
    <script>
    //适配移动
    window.onload = function(){
        var wid = window.innerWidth;
        if(wid<=720){
            var areas = document.querySelectorAll('area');
            for(var i=0,j=areas.length;i<j;i++){
                reposi(areas[i]);
            }
            function reposi(obj){
                var attrs = obj.getAttribute('coords').split(',');
                var coor_arr = new Array();
                for(var i=0;i<4;i++){
                    coor_arr.push(getNum(attrs[i]));
                }
                obj.setAttribute('coords',coor_arr.toString());
            }
            function getNum(num){
                return wid/1200*parseInt(num);
            }
        }    
    };
    </script>
</body>